<div class="module" id="address_list">
<a href="address_add_page.html">
 添加
</a> 
<ul foreach="$addresses as $address">
 <li noloop="top">
  Title Top   
 </li>
 <li foreach="$address.name as $n" if="$address.name==0">
  {$address.name|html}
 </li>
 <li>
  {$address.email|js}
 </li>
 <li>
  <a href="address_edit_page.html?id={$address.id + 1}">
   修改
  </a>
  <a href="address_delete_result_page.html?id={$address.id+2}">
   删除
  </a> 
  
  <li noloop="bottom">
   Bottom
  </li>
 </li>
</ul>


<div>
  <form id="address_add_form" action="http://localhost/test/test.php" method="post">
    <div id="address_name_field" class="field">
      <span class="label">Name:</span>
      <span class="compoment"><input type="text" name="address_name" value=""></span>
      <span class="tip">Please input your name.</span>
      <span class="errmsg">Name is required!</span>
    </div> 
    <div id="address_name2_field" class="field">
      <span class="label">Name:</span>
      <span class="compoment">
          <select name="address_name2" size="4" multiple="multiple">
              <option value="1">1</option>
              <option value="2">2</option>
            </select>    
      </span> 
      <span class="tip">Please input your name.</span>
      <span class="errmsg">Name is required!</span>
    </div>
    <div id="address_email_field" class="field">
      <span class="label">Email:</span>
      <span class="compoment"> 
        <input name="address_email" type="checkbox" value="1" execute="($address.name.w.e2)?123:456|html" />
        <input name="address_email" type="checkbox" value="2" execute="($address.na.me.we2)?564:789|js" />
        <input name="address_email" type="checkbox" value="3" execute="($address.name.we2)?888:999" />
        <input name="address_email" type="checkbox" value="4" />
        <input name="address_email" type="checkbox" value="5" />
      </span>
      <span class="tip">Please input your email.</span>
      <span class="errmsg">Email is required!</span>
    </div>
    <div id="address_email2_field" class="field">
      <span class="label">Email:</span>
      <span class="compoment">
        <input name="address_email2" type="file" />
      </span>
      <span class="tip">Please input your email.</span>
      <span class="errmsg">Email is required!</span>
    </div>
    <div id="address_content_field" class="field">
      <span class="label">Content:</span>
      <span class="compoment"><textarea name="address_content"> {$address.name|html} </textarea></span>
      <span class="tip">Please input your Content.</span>
      <span class="errmsg">Content is required!</span>
    </div>
	
	<div><input type="submit" value="修改"></div>
	</form>
  </div>
  
</div>
